//
//  BeforeInfoTableViewCell.m
//  CloudMD
//
//  Created by apple on 16/3/1.
//  Copyright (c) 2016年 HuaZhengInfo. All rights reserved.
//

#import "BeforeInfoTableViewCell.h"

@implementation BeforeInfoTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self buildUI];
    }
    return self;
}

- (void)buildUI{
    
    UIView * view4 = [GDFactory creatUIViewWithFrame:CGRectMake(10, 0, SCR_W - 20, SCR_H/5) backColor:[UIColor whiteColor]];
    [view4.layer setBorderWidth:1.0];
    [view4.layer setBorderColor:RGBA(202, 202, 202, 1.0).CGColor];
    [self.contentView addSubview:view4];
    
    _addImageView = [[GYLAddImage alloc] initWithFrame:CGRectMake(0, 0, view4.frame.size.width * 0.5, view4.frame.size.height * 0.5)];
    
    
    [view4 addSubview:_addImageView];
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
